//@author A0101728M

#pragma once
#include "command.h"
#include "Parser.h"
class CmdSort :
	public Cmd
{
public:
	CmdSort(cmdTypes cmdType, vector<string> params, string origStr);
	~CmdSort(void);
	const static string ASCENDING;
	const static string DESCENDING;
	const static string DATE_START;
	const static string DATE_END;
	const static string DATE; //by date due
	const static string NAME; //alphabetical order
	const static string NAME_LENGTH;
	const static string DONE; //all done then the rest, each chunk by date due
	const static string UNDONE; // all undone then the rest, each chunk by date due
	const static string DUE; //all due then the rest, each chunk by date due
	const static string OVERDUE; //all overdue then the rest, each chunk by date due

	const static vector<string> SORT_TYPES;
	vector<string> getKeywordVector();
	vector<string> keywords;
};